package com.wyp168.jse;

import java.time.LocalDate;

/**
 * @ClassName LocalDate
 * @Description TODO
 * @Author wyp168
 * @Date 2022/7/4 08:22
 */
public class LocalDateDemo {
    public static void main(String[] args) {
        LocalDate currDate = LocalDate.now();
        //指定生成`yyyy-MM-dd`格式的日期
        LocalDate appointDate = LocalDate.of(2000, 11, 15);
        System.out.println(appointDate.getDayOfWeek());

    }
}
